const sysConfig = {
  cesiumToken:
    'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxMzIzNzVkOS0yOGMzLTRhZWUtOWJjZC02NDkxZmJiY2QwZDUiLCJpZCI6Mjc2NTQsInNjb3BlcyI6WyJhc3IiLCJnYyJdLCJpYXQiOjE1ODk4ODAzMzV9.Ilp1n4KK4nhMlnFSiGMEZBNdtKvQR0odzI5PgXab9Cg',
  title: '三维系统',
  viewerOpt: {
    geocoder: false,
    // homeButton: false,
    // sceneModePicker: false,
    baseLayerPicker: false,
    //是否加载最底层的默认地图，只有baseLayerPicker设置为false时才生效
    baseLayer: false,
    navigationHelpButton: false,
    shouldAnimate: true,
    animation: false,
    timeline: false,
    fullscreenButton: false,
    vrButton: false,
    msaaSamples: 4,
    selectionIndicator: false,
    contextOptions: {
      requestWebgl2: true
    }
  },
  extent: [75.0, 0.0, 140.0, 60.0],
  // arcgis,ion,mars
  terrain: {
    type: 'arcgis',
    url: 'https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer'
    // type: 'mars',
    // url: 'http://data.mars3d.cn/terrain'
    // type: 'ion'
  },
  baseLayers: [
    // {
    //   id: 1,
    //   name: '基础矢量',
    //   classType: 'baseMap',
    //   type: 'geojson',
    //   url: '',
    //   token: '',
    //   zIndex: 100
    // },
    {
      id: 2,
      name: 'ESRI Mapserver',
      type: 'arcgis_dynamic',
      url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer',
      visible: true
    },
    {
      id: 3,
      name: 'google地图',
      type: 'google',
      layertype: 'p',
      visible: false
    },
    {
      id: 4,
      name: '天地图',
      type: 'tdt',
      token: 'a7fced02a310fff72094eb8a06797ba9',
      // vec_c\vec_w\cva_c\cva_w\img_c\img_w\cia_c\cia_w
      layertype: 'img_w',
      visible: false
    },
    {
      id: 5,
      name: 'XYZ',
      type: 'xyz',
      url: 'http://192.168.181.37/hdf/tds/mapdata/maptile/wgs3857img/{z}/{x}/{y}.jpg',
      visible: false
    },
    {
      id: 6,
      name: '网格',
      // type: 'tilegrid',
      type: 'tilegrid-coor',
      visible: false
    },
    {
      id: 7,
      name: '单张图片',
      type: 'single',
      visible: false
    },
    {
      id: 8,
      name: 'OSM',
      type: 'osm',
      visible: false
    },
    {
      id: 9,
      name: '高德地图',
      type: 'gaode',
      visible: false
    },
    {
      id: 10,
      name: '百度地图',
      type: 'baidu',
      visible: false
    },
    {
      id: 11,
      name: 'WMS专题图层',
      type: 'wms',
      url: 'http://server.mars3d.cn/geoserver/mars/wms',
      layers: 'mars:hf',
      visible: false
    },
    {
      id: 12,
      name: 'GeoJSON图层',
      type: 'geojson',
      url: './data/china.json',
      visible: false
    },
    {
      id: 13,
      name: '三维模型',
      type: '3dtiles',
      url: 'http://192.168.181.37/hdf/tds/xsqsz/shp/bm_notexture/tileset.json',
      visible: false,
      opt: {
        show: true
      }
    }
  ],
  thematicLayers: [
    {
      id: 1,
      name: '林地',
      classType: 'thematicMap',
      type: 'geojson',
      url: '',
      token: '',
      zIndex: 101
    }
  ]
}
window.sysConfig = sysConfig
